project.name = "classifier_test"
project.configs = { "Release", "Debug" }
project.config["Debug"].bindir = "Debug"
project.config["Release"].bindir = "Release"
project.config["Debug"].libdir = "Debug"
project.config["Release"].libdir = "Release"

function finishpackage(package)
	package.language = "c++"
	table.insert(package.includepaths, ".")
	table.insert(package.files, matchrecursive("*.h", "*.cpp"))
	package.config["Debug"].objdir = "Debug"
	package.config["Release"].objdir = "Release"
	table.insert(package.config["Release"].defines, "NDEBUG")
	table.insert(package.config["Release"].buildflags, "optimize-speed")
end

dopackage("cpputils")
dopackage("classifier_test")
dopackage("classifier/c45r8")
dopackage("classifier/svm_light")
dopackage("build")
dopackage("test")
dopackage("names2scheme")
